package Common.Entities;
import java.io.Serializable;
import java.util.Date;

/**
 *  This class contain data of customers
 * @author Ola
 *
 */

public class Customer extends Person implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	public String customerAddress;
	public int customerStatus;
	public int regionID;
	/**
	 * 
	 * @return customerAddress
	 */
	
	public String getCustomerAddress() {
		return customerAddress;
	}
	/**
	 * 
	 * @param customerAddress set to customerAddress
	 */
	public void setCustomerAddress(String customerAddress) {
		this.customerAddress = customerAddress;
	}
	/**
	 * 
	 * @return customerStatus
	 */
	public int getCustomerStatus() {
		return customerStatus;
	}
	/**
	 * 
	 * 
	 * @param customerStatus set to customerStatus
	 */
	public void setCustomerStatus(int customerStatus) {
		this.customerStatus = customerStatus;
	}
	
	/**
	 * 
	 * @return regionID
	 */
	public int getRegionID() {
		return regionID;
	}
	
	/**
	 * 
	 * @param regionID set to regionID
	 */
	public void setRegionID(int regionID) {
		this.regionID = regionID;
	}
	
	
	/**
	 * constructor without parameters
	 */
	
	public Customer() {
		super();
		
	}
	
	/**
	 * @param iD
	 * @param name
	 * @param birthday
	 * @param phone
	 * @param customerAddress
	 * @param customerStatus
	 * @param regionID
	 */
	public Customer(String iD, String name, Date birthday, String phone,String customerAddress, int customerStatus, int regionID) {
		
   	     super(iD, name, birthday, phone);
		this.customerAddress = customerAddress;
		this.customerStatus = customerStatus;
		this.regionID = regionID;
	}
	
	


	
}
